﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NewThinkings.BusinessLayer.BusinessObject;
using NewThinkings.BusinessLayer.Facade;
using NewThinkings.BusinessLayer.Facade.Core;

namespace Presentation.WebApp.Mods.Front
{
    public partial class ucApplication : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                IList<CApplication> listApp = new CCoreFacade().GetApplicationByUserID("'<InputValue UserID=\"1\" />");
                ltrAppList.Text = CApplicationUI.GetHtml(listApp);
            }
        }
    }
}